package cn.aiyuan.entity.account;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import java.io.Serializable;

/**
 * @author 痴
 * @since 2020-09-21 19:03
 */
@Data
@ApiModel(value = "登录实体", description = "登录实体")
public class LoginInfoVO implements Serializable {

	private static final long serialVersionUID = 2848911593389853617L;

	@ApiModelProperty(name = "account", value = "账户")
	@NotBlank(message = "账户不能为空")
	private String account;

	@ApiModelProperty(name = "password", value = "密码")
	@NotBlank(message = "密码不能为空")
	private String password;

}
